package com.bootdo.ztzb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.ztzb.dao.ZtzbProcessWorkloadDao;
import com.bootdo.ztzb.domain.ZtzbProcessWorkloadDO;
import com.bootdo.ztzb.service.ZtzbProcessWorkloadService;



@Service
public class ZtzbProcessWorkloadServiceImpl implements ZtzbProcessWorkloadService {
	@Autowired
	private ZtzbProcessWorkloadDao ztzbProcessWorkloadDao;
	
	@Override
	public ZtzbProcessWorkloadDO get(Long id){
		return ztzbProcessWorkloadDao.get(id);
	}
	
	@Override
	public List<ZtzbProcessWorkloadDO> list(Map<String, Object> map){
		return ztzbProcessWorkloadDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ztzbProcessWorkloadDao.count(map);
	}
	
	@Override
	public int save(ZtzbProcessWorkloadDO ztzbProcessWorkload){
		return ztzbProcessWorkloadDao.save(ztzbProcessWorkload);
	}
	
	@Override
	public int update(ZtzbProcessWorkloadDO ztzbProcessWorkload){
		return ztzbProcessWorkloadDao.update(ztzbProcessWorkload);
	}
	
	@Override
	public int remove(Long id){
		return ztzbProcessWorkloadDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return ztzbProcessWorkloadDao.batchRemove(ids);
	}
	
}
